execute store result score #index temp run data get storage vs:system chain.list
execute store result storage vs:system temp.FBJ.index int 1 run scoreboard players remove #index temp 2

function vs:chain/invalidation with storage vs:system temp.FBJ

data remove storage vs:system temp.FBJ
scoreboard players reset #index temp